package com.hy.chat.client;

import java.util.List;

import com.extjs.gxt.ui.client.data.BaseModel;
import com.google.gwt.user.client.rpc.RemoteService;
import com.google.gwt.user.client.rpc.RemoteServiceRelativePath;

/**
 * The client side stub for the RPC service.
 */
@RemoteServiceRelativePath("chatService")
public interface ChatService extends RemoteService {
	String greetServer(String name) throws IllegalArgumentException;
	BaseModel getIndexAndMessage(BaseModel indexAndMessage) throws IllegalArgumentException;
	List<BaseModel> getAdminIndexAndMessage(List<BaseModel> indexAndMessageList) throws IllegalArgumentException;
	

}
